﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Fashion.Models.Model
{
    public class ProductModel
    {
        public int Id { get; set; }

        [Required]
        public int CategoryId { get; set; }

        [Required]
        public string Name { get; set; }

        public string Description { get; set; }

        [Required]
        public decimal Price { get; set; }

        [Required]
        public string Currency { get; set; }

        [Required]
        public int Quantity { get; set; }
    }

    public class ProductImageModel
    {
        [Required]
        public int ProductId { get; set; }

        [Required]
        public string FilePath { get; set; }

        public string Title { get; set; }

        [Required]
        public bool Active{ get; set; }
    }
}